<?php

namespace App\Http\Models;

use Illuminate\Database\Eloquent\Model;

class MateItem extends Model
{
    protected $primaryKey = 'id';
    protected $guarded = [];
    protected $table = 'admin_mate_items';
    public $timestamps = false;

    public function mate(){
        return $this->belongsTo(Mate::class,'mate_id','id');
    }

}
